﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TemplateWeb.Models.ViewModels.GroupViewModel>" %>
<ul>
    <li><a href="../Admin/SelectThongTinCongTy">Thông tin công ty</a></li>
    <li><a href="../Admin/SelectDoiTac">Đối tác</a></li>
    <li><a href="../Admin/SelectLoaiSach">Loại sách</a></li>
    <li><a href="#">Sách</a>
        <ul>
            <% 
                var lstLoaiSach = Model.LoaiSachModel.GetModel.LstObjModel;
                for (int i = 0; i < lstLoaiSach.Count; i++)
                { %>
            <li><a href="../../Admin/SelectSachByIDLoaiSach?idloaisach=<%= lstLoaiSach[i].ID %>"
                title="<%= lstLoaiSach[i].TenLoaiSach %>">
                <%= lstLoaiSach[i].TenLoaiSach %></a></li>
            <% } %>
        </ul>
    </li>
    <li><a href="../Admin/SelectDoLuuNiem">Đồ lưu niệm</a></li>
    <li><a href="../Admin/SelectLoaiTinTuc">Loại tin tức</a></li>
    <li><a href="#">Tin tức</a>
        <ul>
            <% 
                var lstLoaiTinTuc = Model.LoaiTinTucModel.GetModel.LstObjModel;
                for (int i = 0; i < lstLoaiTinTuc.Count; i++)
                { %>
            <li><a href="../../Admin/SelectTinTucByIDLoaiTinTuc?idloaitintuc=<%= lstLoaiTinTuc[i].ID %>"
                title="<%= lstLoaiTinTuc[i].TenLoaiTinTuc %>">
                <%= lstLoaiTinTuc[i].TenLoaiTinTuc%></a></li>
            <% } %>
        </ul>
    </li>
    <li><a href="../Admin/SelectHopThu">Hộp thư</a></li>
    <li><a href="../Admin/Revenue">Doanh thu</a></li>
    <li><a href="../Admin/SelectNguoiDung?role=<%= Roles.GetRolesForUser(Page.User.Identity.Name)[0] %>">Người dùng</a></li>
</ul>
